home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.app.BaseAction;
- import com.extensibility.app.DialogFactory;
- import com.extensibility.app.UI;
- import java.awt.event.ActionEvent;
-
- class SchemaWin$16 extends BaseAction {
- // $FF: synthetic field
- final SchemaWin this$0;
-
- public void actionOccurred(ActionEvent var1) {
- if (this.this$0.commitPendingEdits(true)) {
- if (this.this$0.getSchemaDoc().getSchema().isSupported("GESTALT_SECOND_PASS_VALIDATION") && this.this$0.getSchemaDoc().isTouched()) {
- DialogFactory.note(this.this$0, UI.getString("note.check.errors.2pass.notsaved"));
- }
-
- this.this$0.getSchemaDoc().checkForErrors(false);
- int var2 = this.this$0.getSchemaDoc().countErrors() + this.this$0.getSchemaDoc().getParseErrors().size();
- if (var2 == 0) {
- DialogFactory.note(this.this$0, UI.getString("note.check.errors.done.ok"));
- this.this$0.hideErrorPane();
- } else {
- this.this$0.showErrorPane(false);
- }
-
- }
- }
-
- SchemaWin$16(SchemaWin var1, String var2, char var3) {
- super(var2, var3);
- this.this$0 = var1;
- }
- }
-